From: Dan Nicolaescu Date: Thu, 18 Nov 2010 21:39:15 +0000 (-0800) Subject: * src/strftime.c (_strftime_copytm): Add declaration. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5612 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=50c46d93d9998bf5360e5397619bda3984a21073;p=emacs.git * src/strftime.c (_strftime_copytm): Add declaration. --- diff --git a/src/ChangeLog b/src/ChangeLog index 4c72fcd299a..c2dbdab1491 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2010-11-18 Dan Nicolaescu + * strftime.c (_strftime_copytm): Add declaration. + * callproc.c (syms_of_callproc): Use intern_c_string. Move declarations from .c files to .h files. diff --git a/src/strftime.c b/src/strftime.c index e372e86ec8d..5a0923e3723 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -461,6 +461,9 @@ static CHAR_T const month_name[][10] = /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime. Work around this bug by copying *tp before it might be munged. */ size_t + _strftime_copytm (CHAR_T *s, size_t maxsize, const CHAR_T *format, + const struct tm *tp extra_args_spec LOCALE_PARAM_DECL); + size_t my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format, const struct tm *tp extra_args_spec) {